package com.example.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户
 *
 * @author yang
 * @date 2021-08-23 23:44:41
 */
@Data
@TableName("sys_user")
@EqualsAndHashCode(callSuper = true)
public class SysUserEntity extends Model<SysUserEntity> {
private static final long serialVersionUID = 1L;

/**
 * 用户ID
 */
@ApiModelProperty( value = "用户ID")
@TableId
private String id;
/**
 * 用户
 */
@ApiModelProperty( value = "用户")
private String userName;
/**
 * 密码
 */
@ApiModelProperty( value = "密码")
private String passWord;

}